<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="步骤4：注册PDB集（适用于1.6.0及后续版本）">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="oracle_gud_0013.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="oracle_gud_0028">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>步骤4：注册PDB集（适用于1.6.0及后续版本）</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="oracle_gud_0028"></a><a name="oracle_gud_0028"></a>

<h1 class="topictitle1">步骤4：注册PDB集（适用于1.6.0及后续版本）</h1>
<div><p>当要保护对象为多租用户场景（Multitenant Environment）下的CDB（容器数据库，Container Database）或PDB集（可插拔数据库，Pluggable Database）时，请参考本节注册PDB集。</p>
<div class="section"><h4 class="sectiontitle">背景信息</h4><p>仅Oracle 12c以及后续版本支持CDB与PDB的新特性，在多租用户环境中，允许一个CDB承载多个PDB。</p>
</div>
<div class="section"><h4 class="sectiontitle">前提条件</h4><ul><li>需提前将数据库注册至<span>OceanProtect</span>，具体操作请参见<a href="oracle_gud_0024.html">步骤3：注册Oracle数据库</a>。</li><li><span id="oracle_gud_0028__ph726173316142">请确保Oracle实例配置了多租用户场景，否则注册PDB集任务中没有可选的PDB。通过执行SQL语句命令<strong id="oracle_gud_0028__b9211112135015">SELECT cdb FROM v$database</strong>查询，回显为<span class="uicontrol" id="oracle_gud_0028__uicontrol10762145114811">“yes”</span>则表示当前Oracle实例已配置多租用户场景。回显为<span class="uicontrol" id="oracle_gud_0028__uicontrol1659611961514">“no”</span>，则表示该实例未配置多租用户场景，不存在PDB集。</span></li></ul>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>选择<span class="uicontrol" id="oracle_gud_0028__zh-cn_topic_0000002199964685_uicontrol49641842919">“<span id="oracle_gud_0028__zh-cn_topic_0000002199964685_text63901566195">保护</span> &gt; 数据库 &gt; Oracle”</span>。</span></li><li><span>选择<span class="uicontrol">“PDB集”</span>页签，单击<span class="uicontrol">“<span>注册</span>”</span>。</span><p><p>相关参数说明如<a href="#oracle_gud_0028__table17561557152715">表1</a>所示。</p>

<div class="tablenoborder"><a name="oracle_gud_0028__table17561557152715"></a><a name="table17561557152715"></a><table cellpadding="4" cellspacing="0" summary="" id="oracle_gud_0028__table17561557152715" frame="border" border="1" rules="all"><caption><b>表1 </b>注册PDB集参数说明</caption><colgroup><col style="width:31.4%"><col style="width:68.60000000000001%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="31.4%" id="mcps1.3.4.2.2.2.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.60000000000001%" id="mcps1.3.4.2.2.2.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="31.4%" headers="mcps1.3.4.2.2.2.2.2.3.1.1 "><p>名称</p>
</td>
<td class="cellrowborder" valign="top" width="68.60000000000001%" headers="mcps1.3.4.2.2.2.2.2.3.1.2 "><p>要保护的PDB集资源的名称。可自定义填写。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="31.4%" headers="mcps1.3.4.2.2.2.2.2.3.1.1 "><p>数据库</p>
</td>
<td class="cellrowborder" valign="top" width="68.60000000000001%" headers="mcps1.3.4.2.2.2.2.2.3.1.2 "><p>待备份的PDB集所在的数据库。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="31.4%" headers="mcps1.3.4.2.2.2.2.2.3.1.1 "><p>节点</p>
</td>
<td class="cellrowborder" valign="top" width="68.60000000000001%" headers="mcps1.3.4.2.2.2.2.2.3.1.2 "><p>当选择的数据库为集群部署时，显示该参数。</p>
<p>选择待备份的PDB集所在的Oracle节点进行注册。</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>在“可选PDB”区域，勾选待备份的PDB；在“已选PDB”区域，查看已选择的PDB。</span><p><div class="note"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p>当勾选数据库实例中全部的PDB时，系统将自动识别为CDB。</p>
</div></div>
</p></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="oracle_gud_0013.html">备份Oracle数据库</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>